package com.landinfo.repository;

import com.landinfo.domain.ViewDataManage;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.Optional;


/**
 * Spring Data  repository for the ViewDataManage entity.
 */
@SuppressWarnings("unused")
@Repository
public interface ViewDataManageRepository extends JpaRepository<ViewDataManage, String> {

    Optional<ViewDataManage> findTopByCode(String code);

    Optional<ViewDataManage> findTopByCodeAndPosition(String code, String position);
}
